package org.jeecg.modules.relation.relclassstudent.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.relation.relclassstudent.entity.RelClassStudent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.relation.relclassstudent.vo.RelClassesAndStudentsVO;

import java.util.List;

/**
 * @Description: rel_class_student
 * @author: baochangrong
 * @Date: 2022-02-10
 * @Version: V1.0
 */
public interface RelClassStudentMapper extends BaseMapper<RelClassStudent> {
    //    IPage<RelClassesAndStudentsVO> queryVo(@Param("vo") IPage<RelClassesAndStudentsVO> page,@Param("tenantId") String tenantId);
    List<RelClassesAndStudentsVO> queryVo(Page<RelClassesAndStudentsVO> relClassesAndStudentsVOPage,@Param("vo") RelClassesAndStudentsVO relClassesAndStudentsVO, @Param("tenantId") String tenantId);

    int insertUpgradeRelClassStudent(@Param("relClassesAndStudentsVO") RelClassesAndStudentsVO relClassesAndStudentsVO);
}
